import random
random.seed(125)
print('{}.{}.{}'.format(random.randint(1, 10),random.randint(1, 10),random.randint(1, 10)))
print('{}.{}.{}'.format(random.randint(1, 10),random.randint(1, 10),random.randint(1, 10)))
random.seed(125)
print('{}.{}.{}'.format(random.randint(1, 10),random.randint(1, 10),random.randint(1, 10)))